﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using shenghua.Common.Dto;
using shenghua.Member.Members.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Member.Members
{
    public interface IMemberAppService : IApplicationService
    {
        Task<MemberDto> Register(CreateMemberDto input);
        Task<MemberDto> Get(EntityDto<long> input);
        Task<MemberDto> GetSelf();
        Task<MemberDto> Create(CreateMemberDto input);
        Task<MemberDto> Update(UpdateMemberDto input);
        Task Delete(BatchlongIdDto input);
        Task UpdatePersonalProfile(UpdatePersonalProfileDto input);
        Task<SearchResultDto<MemberDto>> Search(SearchMemberDto input);
        Task<PagedResultDto<XPLogDto>> GetAllXPLogs(SearchDto input);
        Task<List<MemberMiniProfileDto>> GetProfiles(BatchlongIdDto input);
        Task ChangePassword(ChangePasswordDto input);
    }
}
